package org.springblade.modules.repair.vo.statistics.by;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @Date 11:41 2022/11/29
 * @Description {
 *    保养统计页面工单状态详情
 * }
 * @Author lsay
 **/
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class CheckStatisticsOverdueCountVO extends CheckStatisticsOverdueDetailVO {

	private String label;

	/**
	 * 总工单数
	 */
	private Long planTotal;

	/**
	 * 及时
	 */
	private Long normal;

	/**
	 * 逾期
	 */
	private Long overdue;

	public CheckStatisticsOverdueCountVO(String label) {
		this.label = label;
		this.planTotal = 0L;
		this.normal = 0L;
		this.overdue = 0L;
		this.setNormalPer(BigDecimal.valueOf(0.0));
		this.setOverduePer(BigDecimal.valueOf(0.0));
	}
}
